<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 1. rest ... 收集剩余参数  会放到一个数组里
        function fn1 (x,y,...data) {
            console.log(x,y,data);
        }
        fn1(1,2,3,4,5,3)

        // 2. 箭头函数
        const fn2 = () => ('hah')
        console.log(fn2());

        // 3. 无法访问argument  new

    </script>
</body>
</html>